<!-- 登录过滤器 -->
<?php
if ($_COOKIE['studentName'] == null || $_COOKIE['studentID'] == null || $_COOKIE['role']== null ){
	echo "
            <script>
                alert('请先登录！');
                window.location.href='/student/auth/login.php';
            </script>
        ";
}